package com.spring;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

@EnableScheduling //Scheduled要用的，   定时任务的注解?
@SpringBootApplication
@MapperScan("com.spring.mapper") // @MapperScan 用户扫描MyBatis的Mapper接口
public class application {
    public static void main(String[] args) {
        SpringApplication.run(application.class,args);
    }
}
